package org.dromara.tearoom.domain.vo;

import cn.idev.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.tearoom.domain.TerRegionalInfo;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;


/**
 * 区域信息视图对象 ter_regional_info
 *
 * @author xch
 * @date 2025-04-09
 */
@Data
@AutoMapper(target = TerRegionalInfo.class)
public class TerRegionalInfoVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 区域id
     */
    @ExcelProperty(value = "区域id")
    private Long id;

    /**
     * 门店名
     */
    @ExcelProperty(value = "门店名")
    private String groupName;

    /**
     * 电话
     */
    @ExcelProperty(value = "电话")
    private String phone;

    /**
     * 纬度
     */
    @ExcelProperty(value = "纬度")
    private String latitude;

    /**
     * 经度
     */
    @ExcelProperty(value = "经度")
    private String longitude;

    /**
     * 完整地址
     */
    @ExcelProperty(value = "完整地址")
    private String address;

    /**
     * 区域ID
     */
    @ExcelProperty(value = "区域ID")
    private Integer districtId;

    /**
     * 区域名称
     */
    @ExcelProperty(value = "区域名称")
    private String districtName;

    /**
     * 城市ID
     */
    @ExcelProperty(value = "城市ID")
    private Integer cityId;

    /**
     * 城市名称
     */
    @ExcelProperty(value = "城市名称")
    private String cityName;

    /**
     * 省份ID
     */
    @ExcelProperty(value = "省份ID")
    private Integer provinceId;

    /**
     * 省份名称
     */
    @ExcelProperty(value = "省份名称")
    private String provinceName;

    /**
     * 图片路径
     */

    private String imgUrl;

    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "imgUrl")
    private String imgUrlUrl;


    private long groupId;

    private Integer orderNum;

    /**
     * 删除标识
     */
    private String delFlag;

    /**
     * 距离
     */
    private Double distance;

    /**
     * 房间详情
     */
    private List<TerRoomDetailsVo> roomList;
}
